package cn.xmy.demo01.service.impl;
import cn.xmy.demo01.dao.ActionDao;
import cn.xmy.demo01.pojo.Action;
import cn.xmy.demo01.service.ActionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.sql.SQLException;
import java.util.List;
@Service
public class ActionServiceImpl implements ActionService {
    @Autowired
     ActionDao actionDao;

    @Override
    public List<Action> findAllAction() throws SQLException, ClassNotFoundException {
        return actionDao.findAllAction();
    }
}
